void main() {
  Man m1 = Man();
  print(m1.userName);
  print(m1.age);
  m1.eat();
}

class Person {
  String userName = "父类";
  num age = 100;
  void eat() {
    print("吃饭");
  }
}

class Man extends Person {}
